enableEdgeToEdge

open fun enableEdgeToEdge(@NonNull window: @NonNull Window)(source)

Enables the content of the given window to reach the edges of the window without getting inset by system insets, and prevents the framework from placing color views behind system bars.

Parameters

window

the given window.